package org.wuliu.pojo;

public class Dingqv {
    private Integer id;
    private String bianhao;
    private String mingcheng;
    private Integer fuzerenId;
    private Integer fenqvId;
    private Qvpai fuzeren;
    private String[] fenids;

    public String[] getFenids() {
        return fenids;
    }

    public void setFenids(String[] fenids) {
        this.fenids = fenids;
    }

    public Qvpai getFuzeren() {
        return fuzeren;
    }

    public void setFuzeren(Qvpai fuzeren) {
        this.fuzeren = fuzeren;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBianhao() {
        return bianhao;
    }

    public void setBianhao(String bianhao) {
        this.bianhao = bianhao;
    }

    public String getMingcheng() {
        return mingcheng;
    }

    public void setMingcheng(String mingcheng) {
        this.mingcheng = mingcheng;
    }

    public Integer getFuzerenId() {
        return fuzerenId;
    }

    public void setFuzerenId(Integer fuzerenId) {
        this.fuzerenId = fuzerenId;
    }

    public Integer getFenqvId() {
        return fenqvId;
    }

    public void setFenqvId(Integer fenqvId) {
        this.fenqvId = fenqvId;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Dingqv dingqv = (Dingqv) o;

        if (id != null ? !id.equals(dingqv.id) : dingqv.id != null) return false;
        if (bianhao != null ? !bianhao.equals(dingqv.bianhao) : dingqv.bianhao != null) return false;
        if (mingcheng != null ? !mingcheng.equals(dingqv.mingcheng) : dingqv.mingcheng != null) return false;
        if (fuzerenId != null ? !fuzerenId.equals(dingqv.fuzerenId) : dingqv.fuzerenId != null) return false;
        if (fenqvId != null ? !fenqvId.equals(dingqv.fenqvId) : dingqv.fenqvId != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = id != null ? id.hashCode() : 0;
        result = 31 * result + (bianhao != null ? bianhao.hashCode() : 0);
        result = 31 * result + (mingcheng != null ? mingcheng.hashCode() : 0);
        result = 31 * result + (fuzerenId != null ? fuzerenId.hashCode() : 0);
        result = 31 * result + (fenqvId != null ? fenqvId.hashCode() : 0);
        return result;
    }
}
